{if $have_errors}{include file="error.tpl"}{/if}

<div class="message_box">
<form id="main_login_form" accept-charset="utf-8" action="{$index_script}?{$place_name}=reg" method="{$form_method}">
  {*  <input name="{$place_name}" type="hidden" value="reg" />
    <input name="{$mode_name}" type="hidden" value="login" />*}
    <table>
        <tr><td>{$lang.email} <font style="color: red;">*</font></td><td><input type="text" name="email" value="{$email}" maxlength="100"></td></tr>        
        <tr><td>{$lang.password} <font style="color: red;">*</font></td><td><input type="password" name="password" value="" maxlength="32"></td></tr>
        
        <tr><td>{$lang.first_name}<font style="color: red;">*</font></td><td><input type="text" name="first_name" value="{$first_name}" maxlength="100"></td></tr>
        <tr><td>{$lang.last_name}</td><td><input type="text" name="last_name" value="{$last_name}" maxlength="100"></td></tr>
        <tr><td>&nbsp;</td><td><input type="submit" value="{$lang.do_register_lnk}"></td></tr>
        <tr><td colspan="2"><font style="color: red;">*</font> - {$lang.required_field}</td></tr>
    </table>
</form>
</div>